<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Windows 支持</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="migration74.other-changes.html">« 其他变更</a></li>
      <li style="float: right;"><a href="migration73.html">从 PHP 7.2.x 移植到 PHP 7.3.x »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="migration74.html">从 PHP 7.3.x 移植到 PHP 7.4.x</a></li>
    <li>Windows 支持</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="migration74.windows-support" class="sect1">
 <h2 class="title">Windows 支持</h2>

 <div class="sect2" id="migration74.windows-support.configure">
  <h3 class="title"><strong class="command">configure</strong> flags</h3>
  <p class="para">
   <strong class="command">configure</strong> 命令现在支持 <code class="literal">CFLAGS</code> 和 <code class="literal">LDFLAGS</code> 环境变量。
  </p>
 </div>

 <div class="sect2" id="migration74.windows-support.other">
  <h3 class="title">CTRL handling</h3>
  <p class="para">
   CTRL+C and CTRL+BREAK on console can be caught by setting a handler function
   with <span class="function"><a href="function.sapi-windows-set-ctrl-handler.html" class="function">sapi_windows_set_ctrl_handler()</a></span>.
  </p>
  <p class="para">
   <span class="function"><a href="function.proc-open.html" class="function">proc_open()</a></span> on Windows can be passed a
   &quot;create_process_group&quot; option. It is required if the child
   process is supposed to handle CTRL events.
  </p>
 </div>

 <div class="sect2" id="migration74.windows-support.opcache">
  <h3 class="title">OPcache</h3>
  <p class="para">
   OPcache 现在通过 INI 指令 <code class="literal">opcache.cache_id</code>
   支持不同用户有不限数量的单独缓存。具有相同缓存 ID 和用户的所有进程共享一个 OPcache 实例。
  </p>
 </div>

 <div class="sect2" id="migration74.windows-support.stat">
  <h3 class="title">stat</h3>
  <p class="para">
   The stat implementation has been refactored.
  </p>
  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     An inode number is delivered and is based on the NTFS file index.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     The device number is now based on the volume serial number.
    </span>
   </li>
  </ul>
  <p class="para">
   Note that both values are derived from the system and provided as-is on 64-bit
   systems. On 32-bit systems, these values might overflow the 32-bit integer in
   PHP, so they&#039;re fake.
  </p>
 </div>

 <div class="sect2" id="migration74.windows-support.sqlite3">
  <h3 class="title">libsqlite3</h3>
  <p class="para">
   libsqlite3 is no longer compiled statically into <var class="filename">php_sqlite3.dll</var>
   and <var class="filename">php_pdo_sqlite.dll</var>, but rather available as <var class="filename">libsqlite3.dll</var>.
   Refer to the installation instructions for <a href="sqlite3.installation.html" class="link">SQLite3</a> and
   <a href="ref.pdo-sqlite.html#ref.pdo-sqlite.installation" class="link">PDO_SQLITE</a>, respectively.
  </p>
 </div>

</div></div></div></body></html>